let urlEnv = require("@/config/env");
import request from "@/axios";

export const getRouter = () =>
  request({
    url: `${urlEnv.baseUrl.apiHostName}category/tree`,
    method: "post"
  });

export const getButtons = () =>
  request({
    url: `${urlEnv.baseUrl.apiHostName}category/tree`,
    method: "post"
  });
